﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UtilZ.Dotnet.Ex.Base;
using UtilZ.Dotnet.Ex.ZLog;

namespace UtilZ.Dotnet.Ex.Model
{
    /// <summary>
    /// 缓存数据类型
    /// </summary>
    public enum BufferDataType
    {

        /// <summary>
        /// Memory
        /// </summary>
        Memory,

        /// <summary>
        /// byte数组
        /// </summary>
        Bytes,

        /// <summary>
        /// 数据流
        /// </summary>
        Stream,

        /// <summary>
        /// 数据存放于文件中
        /// </summary>
        File,

        /// <summary>
        /// 二进制读取器
        /// </summary>
        BinaryReader,

        /// <summary>
        /// 数据指针
        /// </summary>
        IntPtr,

        /// <summary>
        /// 扩展类型
        /// </summary>
        Extend
    }
}
